-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[generic_config_updater] add GCU ignore regex #5509
Conversation
@@ -28,6 +28,9 @@ def ignore_expected_loganalyzer_exceptions(duthost, loganalyzer): | |||
".*ERR swss[0-9]*#orchagent: :- getPortOperSpeed.*", # test_portchannel_interface replace mtu | |||
".*ERR.*Failed to apply Json change.*", # validator need updater submodule | |||
".*ERR GenericConfigUpdater: Change Applier: service invoked.*", # validator need updater submodule | |||
".*getResAvailableCounters.*", # test_monitor_config | |||
".*objectTypeGetAvailability.*", # test_monitor_config | |||
".*ERR dhcp_relay.*", # test_dhcp_relay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pattern is too generic. Can you prepend the module generated these messages?
BTW, can you also change the scope of this fixture to module
level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've update the first two pattern. The dhcp_relay ERR seems random failure. The msg looks like below. So I just wrap them into one.
['Apr 11 17:53:27.057936 vlab-01 ERR dhcp_relay#dhcrelay[38]: setsockopt: SO_BINDTODEVICE: No such device\n',
'Apr 11 17:53:27.057936 vlab-01 ERR dhcp_relay#dhcrelay[38]: \n',
'Apr 11 17:53:27.057948 vlab-01 ERR dhcp_relay#dhcrelay[38]: If you think you have received this message due to a bug rather\n',
'Apr 11 17:53:27.057948 vlab-01 ERR dhcp_relay#dhcrelay[38]: than a configuration issue please read the section on submitting\n',
'Apr 11 17:53:27.057948 vlab-01 ERR dhcp_relay#dhcrelay[38]: bugs on either our web page at www.isc.org or in the README file\n',
'Apr 11 17:53:27.057962 vlab-01 ERR dhcp_relay#dhcrelay[38]: before submitting a bug. These pages explain the proper\n',
'Apr 11 17:53:27.057962 vlab-01 ERR dhcp_relay#dhcrelay[38]: process and the information we find helpful for debugging.\n',
'Apr 11 17:53:27.057973 vlab-01 ERR dhcp_relay#dhcrelay[38]: \n',
'Apr 11 17:53:27.057973 vlab-01 ERR dhcp_relay#dhcrelay[38]: exiting.\n'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like loganalyzer fixture is function level.
Description of PR
Summary: Add regex to unblock PR check
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Add gcu ignore regex to unblock PR check
How did you do it?
Add regex pattern
How did you verify/test it?
Run unit test locally
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation